package com.foreknow.service;

import com.foreknow.po.Business;

import java.sql.SQLException;
import java.util.List;

public interface BusinessService {
    /**
     * 根据点餐分类编号查询所属商家信息
     * @param orderTypeId
     * @return
     */
    public List<Business> listBusinessByOrderTypeId(Integer orderTypeId);

    /**
     * 根据商家编号查询商家信息
     * @param businessId
     * @return
     */
    public Business getBusinessById(Integer businessId);
}
